/*
 * @Author: AHANG
 * @Date: 2022-04-07 12:35:16
 * @LastEditors: AHANG
 * @LastEditTime: 2022-06-29 10:38:59
 * @Description:
 */
const mixin = {
  methods: {
    isMessage(val, state) {
      // 判断是否为错误状态
      this.$message({
        showClose: true,
        message: `${val}`,
        type: `${state}`,
      });
    },
  },
};
export default mixin;
